/*
 * @Descripttion:
 * @Author: jhw
 * @Date: 2023-05-15 21:31:18
 * @LastEditors: jhw
 * @LastEditTime: 2024-06-20 10:41:57
 */
/*
 * @Descripttion:
 * @Author: jhw
 * @Date: 2023-05-15 21:31:18
 * @LastEditors: jhw
 * @LastEditTime: 2023-05-18 20:39:49
 */
export default [
  {
    path: '/demo',
    name: 'Demo',
    redirect: '/demo/index',
    meta: {
      title: 'Demo',
      icon: 'home',
      auth: [],
    },
    component: () => import('@/layout/default/index.vue'),
    children: [
      {
        path: 'index',
        name: 'DemoTable',
        meta: {
          title: '表格',
          auth: [],
        },
        component: () => import('@/views/demo/index.vue'),
      },
      // 俄罗斯方块小游戏
      {
        path: 'tetris',
        name: 'DemoTetris',
        meta: {
          title: '俄罗斯方块',
          auth: [],
        },
        component: () => import('@/views/demo/tetrisDemo.vue'),
      },
      // 指令测试
      {
        path: 'directiveTest',
        name: 'DemoDirectiveTest',
        meta: {
          title: '指令测试',
          auth: [],
        },
        component: () => import('@/views/demo/DemoDirectiveTest/index.vue'),
      },
      // echarts案例
      // {
      //   path: 'echartsDemo',
      //   name: 'DemoEchartsDemo',
      //   meta: {
      //     title: 'echarts案例',
      //     auth: [],
      //   },
      //   component: () => import('@/views/demo/echartsDemo/index.vue'),
      // },
      // 测试类
      {
        path: 'test1',
        name: 'Test1',
        meta: {
          title: '测试类1',
          auth: [],
        },
        component: () => import('@/views/demo/testes/1.vue'),
      },
      // 日常类
      {
        path: 'daily',
        name: 'Daily',
        meta: {
          title: '日常练习',
          auth: [],
        },
        component: () => import('@/views/demo/daily/index.vue'),
      },
    ],
  },
];
